package com.glory.brepda.entity;

import java.util.ArrayList;
import java.util.List;

public class LotactionLists {
    public LotactionLists(String LOTID, String ACTIONCODE, String ACTIONREASON, String SUBQTY,String mainQTY, List<QTYList> QTYLIST) {
        this.LOTID = LOTID;
        this.ACTIONCODE = ACTIONCODE;
        this.ACTIONREASON = ACTIONREASON;
        this.ACTIONTYPE = "Scrap";
        this.SUBQTY = SUBQTY;
        this.MAINQTY = mainQTY;
        this.QTYLIST = QTYLIST;
    }

    public LotactionLists() {

    }

    public LotactionLists(String LOTID,String ACTIONTYPE) {
        this.LOTID = LOTID;
        this.ACTIONTYPE = ACTIONTYPE;
    }

    private String LOTID;
    private String ACTIONTYPE;
    private String ACTIONCODE;
    private String ACTIONREASON;
    private String SUBQTY;
    private String MAINQTY;
    private String ACTIONCOMMENT;
    private String LOTRRN;
    private List<QTYList> QTYLIST;

    public String getLOTRRN() {
        return LOTRRN == null ? "" : LOTRRN;
    }

    public void setLOTRRN(String LOTRRN) {
        this.LOTRRN = LOTRRN;
    }

    public String getACTIONCOMMENT() {
        return ACTIONCOMMENT == null ? "" : ACTIONCOMMENT;
    }

    public void setACTIONCOMMENT(String ACTIONCOMMENT) {
        this.ACTIONCOMMENT = ACTIONCOMMENT;
    }

    public void setQTYLIST(List<QTYList> QTYLIST) {
        this.QTYLIST = QTYLIST;
    }

    public String getLOTID() {
        return LOTID;
    }

    public String getACTIONTYPE() {
        return ACTIONTYPE;
    }

    public String getACTIONCODE() {
        return ACTIONCODE;
    }

    public String getACTIONREASON() {
        return ACTIONREASON;
    }

    public String getSUBQTY() {
        return SUBQTY;
    }

    public String getMAINQTY() {
        return MAINQTY;
    }

    public List<QTYList> getQTYLIST() {
        return QTYLIST;
    }

    public void setLOTID(String LOTID) {
        this.LOTID = LOTID;
    }

    public void setACTIONTYPE(String ACTIONTYPE) {
        this.ACTIONTYPE = ACTIONTYPE;
    }

    public void setACTIONCODE(String ACTIONCODE) {
        this.ACTIONCODE = ACTIONCODE;
    }

    public void setACTIONREASON(String ACTIONREASON) {
        this.ACTIONREASON = ACTIONREASON;
    }

    public void setSUBQTY(String SUBQTY) {
        this.SUBQTY = SUBQTY;
    }

    public void setMAINQTY(String MAINQTY) {
        this.MAINQTY = MAINQTY;
    }

    public void setQTYLIST(ArrayList<QTYList> QTYLIST) {
        this.QTYLIST = QTYLIST;
    }

    public static class QTYList {

        private String SUBQTY;
        private String MAINQTY;

        public String getSUBQTY() {
            return SUBQTY;
        }

        public String getMAINQTY() {
            return MAINQTY;
        }

        public void setSUBQTY(String SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }
    }
}
